using System;
using System.Collections.Generic;

namespace ApiProject.Api.Entity
{
    //商品详情表SKU
    public class CommodityDetails : BaseEntity
    {
        public CommodityDetails()
        {
            IsGrounding = false;
        }
        //是否上架
        public bool IsGrounding { get; set; }
        //商品Id
        public int CommodityId { get; set; }
        //价格
        public double Price { get; set; }
        //库存
        public int Inventory { get; set; }
        //供应商(此时用户角色为供应商)
        public int UserId { get; set; }
        //参数Id串
        public string SpecificationId { get; set; }
        //名称串
        public string SpecificationIdstring { get; set; }
        //商品参数(子类)名称字符串串
        public string SpeChildId { get; set; }
        //商品详情参数
        public virtual IEnumerable<ComSpecifications> ComSpecification { get; set; }
    }
}
